package com.houtai.bean;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

public class TdSchool {
    @ApiModelProperty(value="id", name="school_id")
    private int school_id;
    @NotEmpty(message = "请输入qq")
    @Length(max = 20, message = "qq最多20个字符")
    @ApiModelProperty(value="qq", name="school_qq")
    private String school_qq;
    @NotEmpty(message = "请输入qq群")
    @Length(max = 20, message = "qq群最多20个字符")
    @ApiModelProperty(value="qq群", name="school_qq_group")
    private String school_qq_group;
    @NotEmpty(message = "请输入电话")
    @Length(max = 20, message = "电话最多20个字符")
    @ApiModelProperty(value="电话", name="phone_no")
    private String phone_no;

    @ApiModelProperty(value="课程数量", name="course_size")
    private int course_size;

    @NotNull(message = "请输入电话2")
    @Length(max = 20, message = "电话2最多20个字符")
    @ApiModelProperty(value="电话2可不填写", name="phone_no1")
    private String phone_no1;

    @ApiModelProperty(value="好评比 万分比", name="rating")
    private int school_rating;

    @ApiModelProperty(value="学习人数", name="learning_size")
    private int learning_size;
    @NotEmpty(message = "请输入学校简介")
    @Length(max = 200, message = "学校简介最多200个字符")
    @ApiModelProperty(value="学校简介", name="school_intro")
    private String school_intro;
    @NotEmpty(message = "请输入学校名称")
    @Length(max = 30, message = "学校名称最多30个字符")
    @ApiModelProperty(value="学校名称", name="school_name")
    private String school_name;
    @NotEmpty(message = "请上传头像")

    @ApiModelProperty(value="头像", name="head_img")
    private String head_img;
    @ApiModelProperty(value="0有效1已删除", name="state")
    private int state;


    public int getSchool_id() {
        return school_id;
    }

    public void setSchool_id(int school_id) {
        this.school_id = school_id;
    }

    public String getSchool_qq() {
        return school_qq;
    }

    public void setSchool_qq(String school_qq) {
        this.school_qq = school_qq;
    }

    public String getSchool_qq_group() {
        return school_qq_group;
    }

    public void setSchool_qq_group(String school_qq_group) {
        this.school_qq_group = school_qq_group;
    }

    public String getPhone_no() {
        return phone_no;
    }

    public void setPhone_no(String phone_no) {
        this.phone_no = phone_no;
    }

    public int getCourse_size() {
        return course_size;
    }

    public void setCourse_size(int course_size) {
        this.course_size = course_size;
    }

    public String getPhone_no1() {
        return phone_no1;
    }

    public void setPhone_no1(String phone_no1) {
        this.phone_no1 = phone_no1;
    }

    public int getSchool_rating() {
        return school_rating;
    }

    public void setSchool_rating(int school_rating) {
        this.school_rating = school_rating;
    }

    public int getLearning_size() {
        return learning_size;
    }

    public void setLearning_size(int learning_size) {
        this.learning_size = learning_size;
    }

    public String getSchool_intro() {
        return school_intro;
    }

    public void setSchool_intro(String school_intro) {
        this.school_intro = school_intro;
    }

    public String getSchool_name() {
        return school_name;
    }

    public void setSchool_name(String school_name) {
        this.school_name = school_name;
    }

    public String getHead_img() {
        return head_img;
    }

    public void setHead_img(String head_img) {
        this.head_img = head_img;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
